home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-2.iso
/
extra_2
/
pf215.zip
/
TYPE_CFG.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-10-30
|
863b
|
23 lines
@REM
@REM TYPE_CFG.BAT -- Displays the description of all Print-Format
@REM configuration files *.CFG, *.TBL and *.DSK
@REM
@REM Parameters: %1: Directory name (optional). If omitted, the current
@REM directory is used.
@REM
@REM Remarks: This file expects NO backslash at the end of a
@REM directory name. If you specify a directory name,
@REM that ends with a backslash (e. g. the root directory),
@REM please append a dot to the directory name.
@REM
@IF @%1==@ GOTO CURRENT_DIR
@REM Named directory, not the root
FOR %%F IN (%1\*.CFG) DO TYPE %%F
FOR %%F IN (%1\*.TBL) DO TYPE %%F
FOR %%F IN (%1\*.DSK) DO TYPE %%F
GOTO END
:CURRENT_DIR
FOR %%F IN (*.CFG) DO TYPE %%F
FOR %%F IN (*.TBL) DO TYPE %%F
FOR %%F IN (*.DSK) DO TYPE %%F
:END